package cn.fzm.ssm.service;

import cn.fzm.ssm.domain.UserInfo;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

/**
 * @author Dremeue
 * @create 2019-10-12 12:51
 **/
public interface IUserService extends UserDetailsService {

    public UserInfo findById(String id);

    public List<UserInfo> findAll(int pageNum, int PageSize);

    public void save(UserInfo userInfo);

    public void deleteByIds(String[] ids);

    public void addRoleToUser(String userId, String[] ids);
}
